#!/usr/bin/env python

# INSTRUCTIONS:
# 
# (1) Implement the TextMessage class accordig to docstring specifications.


class CellPhone(object):
    '''Simple cell phone that can ... FIXME

    Instance attributes:

    owner -- string name of the cell phone owner
    '''
    def __init__(self, myowner):
	self.owner = myowner

    def makeCall(self, other_phone):
        '''This function will print "calling ... <recipient name>"
        '''
        print "calling", other_phone.owner
	
    def receiveCall(self, other_phone):
        '''This function will print "receiving call from ... <recipient name>"
        and then calls the function to ring.
        '''
        print "receiving call form", other_phone.owner     


    def ringTone(self, ringtone = "hallaluah"):
        "Print out the sound of the ring tone on this phone"
        print self.ringtone
        

if __name__ == "__main__":
	cphone = CellPhone("Chenyang")
	print cphone.owner
	print cphone.ringTone

